package org.inspursc.s0517.health.common.converter;

import org.inspursc.s0517.health.common.entity.SysPermission;
import org.inspursc.s0517.health.common.form.PermissionForm;
import org.springframework.beans.BeanUtils;


public class PermissionConverter2SysPermission {
    public static SysPermission converter(PermissionForm permissionForm) {
        SysPermission permission = new SysPermission();
        BeanUtils.copyProperties(permissionForm, permission);
        return permission;
    }
}
